﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emz.Core;
using Emz.Core.Models;
namespace Legazpi.Payroll.Services.Interfaces
{
    public interface IPayrollDateService
    {
        PayrollDate GetById(int id);
        IEnumerable<PayrollDate> GetAll();
        IEnumerable<PayrollDate> Get();

        void Add(PayrollDate payrollDate);
        void Update(PayrollDate payrollDate);
        void Delete(int id);
        bool Save();

        bool IsValidPaydate(DateTime payDate);
        PayrollDate GetPreviousPayroll();
        PayrollDate GetActivePayroll();
    }
}
